package com.cs.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class Hosregister {
    private Integer hosrId;

    private String hosrIdcar;

    private String hosrMedical;

    private BigDecimal hosrRegprice;

    private String hosrPhone;

    private Integer hosrSelfprice;

    private Integer hosrSex;

    private Integer hosrAge;

    private String hosrWork;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date hosrEnddate;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date hosrBegindate;

    private String hosrLookdoctor;

    private String dClassroom;

    private String dName;

    private Integer dId;

    private String hosrRemark;

    private Integer hosrState;

    public Integer getHosrId() {
        return hosrId;
    }

    public void setHosrId(Integer hosrId) {
        this.hosrId = hosrId;
    }

    public String getHosrIdcar() {
        return hosrIdcar;
    }

    public void setHosrIdcar(String hosrIdcar) {
        this.hosrIdcar = hosrIdcar == null ? null : hosrIdcar.trim();
    }

    public String getHosrMedical() {
        return hosrMedical;
    }

    public void setHosrMedical(String hosrMedical) {
        this.hosrMedical = hosrMedical == null ? null : hosrMedical.trim();
    }

    public BigDecimal getHosrRegprice() {
        return hosrRegprice;
    }

    public void setHosrRegprice(BigDecimal hosrRegprice) {
        this.hosrRegprice = hosrRegprice;
    }

    public String getHosrPhone() {
        return hosrPhone;
    }

    public void setHosrPhone(String hosrPhone) {
        this.hosrPhone = hosrPhone == null ? null : hosrPhone.trim();
    }

    public Integer getHosrSelfprice() {
        return hosrSelfprice;
    }

    public void setHosrSelfprice(Integer hosrSelfprice) {
        this.hosrSelfprice = hosrSelfprice;
    }

    public Integer getHosrSex() {
        return hosrSex;
    }

    public void setHosrSex(Integer hosrSex) {
        this.hosrSex = hosrSex;
    }

    public Integer getHosrAge() {
        return hosrAge;
    }

    public void setHosrAge(Integer hosrAge) {
        this.hosrAge = hosrAge;
    }

    public String getHosrWork() {
        return hosrWork;
    }

    public void setHosrWork(String hosrWork) {
        this.hosrWork = hosrWork == null ? null : hosrWork.trim();
    }

    public Date getHosrEnddate() {
        return hosrEnddate;
    }

    public void setHosrEnddate(Date hosrEnddate) {
        this.hosrEnddate = hosrEnddate;
    }

    public Date getHosrBegindate() {
        return hosrBegindate;
    }

    public void setHosrBegindate(Date hosrBegindate) {
        this.hosrBegindate = hosrBegindate;
    }

    public String getHosrLookdoctor() {
        return hosrLookdoctor;
    }

    public void setHosrLookdoctor(String hosrLookdoctor) {
        this.hosrLookdoctor = hosrLookdoctor == null ? null : hosrLookdoctor.trim();
    }

    public String getdClassroom() {
        return dClassroom;
    }

    public void setdClassroom(String dClassroom) {
        this.dClassroom = dClassroom == null ? null : dClassroom.trim();
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName == null ? null : dName.trim();
    }

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public String getHosrRemark() {
        return hosrRemark;
    }

    public void setHosrRemark(String hosrRemark) {
        this.hosrRemark = hosrRemark == null ? null : hosrRemark.trim();
    }

    public Integer getHosrState() {
        return hosrState;
    }

    public void setHosrState(Integer hosrState) {
        this.hosrState = hosrState;
    }
}